import qs from "qs";
import axios from "axios"
///保存评论
export const saveDiscuss = (data) => {
    return axios({
        url: "/discuss/save-discuss",
        method: "post",
        data:qs.stringify(data)
    });
};
//////// 获取评论列表
export const getDiscuss = (params) => {
    return axios({
        url: "/discuss/get-discuss",
        method: "get",
        params
    });
};
////
export const getDataList = (params) => {
    return axios({
        url: "/msbd/list",
        method: "get",
        params
    });
};

//详情页获取数据
export const getThisList = (params) => {
    return axios({
        url: "/msbd/getlist",
        method: "get",
        params
    });
};